#define __LCC__
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include "mysql/mysql.h"
using namespace std;

class ConfigFile{
private:
	string _serect;

public:
	map<string, string> fvalue;
	
	ConfigFile(const char *CONFIG_FILE);

	string const& SetValue(string const& value);
	
	const string Seclect_Section(string const& section, string const& entry);

	~ConfigFile();
};

class MySQL_DB{

public:
	MySQL_DB();

	MYSQL *mysql_connect_setup(const char *host, const char *user, const char *passwd, const char *defaultdb, unsigned int port);

	MYSQL_RES *mysql_perform_query(MYSQL *connection, char *sql_query);

	~MySQL_DB();
};

